import request from '@/utils/request'
// 公司
export const getCustomerList = (data) => request.post('/customer/getCustomerList', data)
// 管线
export const getPipeLineListByCusId = (data) => request.post('/pipeLine/getPipeLineListByCusId', data)
// 监测点
export const getCheckPointListByLineId = (data) => request.post('/checkPoint/getCheckPointListByLineId', data)
// 测试桩告警
export const getKmlcpycAlarmListByPage = (data) => request.post('/kml/getKmlcpycAlarmListByPage', data)
//告警信息下拉
export const getAlarmName = (data) => request.post('/alarm/getAlarmName', data)
//告警信息删除
export const deleteKmlcpycAlarm = (data) => request.post('/kml/deleteKmlcpycAlarm', data)

// 告警信息导出
export const importErrorCheckPonit = (data) => request.post('/reportForm/importErrorCheckPonit', data, {
    responseType: 'blob'
})

//恒电位仪告警
export const getKmlptycAlarmListByPage = (data) => request.post('/kml/getKmlptycAlarmListByPage', data)

//删除恒电位仪数据（/kml/deleteKmlptyc）
export const deleteKmlptyc = (data) => request.post('/kml/deleteKmlptyc', data)

//导出恒电位仪数据（/kml/deleteKmlptyc）
export const importErrorKmlptyc = (data) => request.post('/reportForm/importErrorKmlptyc', data, {
    responseType: 'blob'
})

//绝缘接头告警/kml/deleteKmlptyc）
export const getKmljyjtAlarmListByPage = (data) => request.post('/kml/getKmljyjtAlarmListByPage', data)
